import { PREFIX, TOKEN_KEY } from '@/enums/storageEnums'
import storage from '@/utils/storage';

export function getToken() {
    return storage.get(PREFIX + TOKEN_KEY)
}

export function setToken(token:string) {
    storage.set(PREFIX + TOKEN_KEY, token);
}

export function removeToken() {
    storage.delete(PREFIX + TOKEN_KEY);
}